#: import ListItemButton kivy.uix.listview.ListItemButton
#: import ListAdapter kivy.adapters.listadapter.ListAdapter

WeatherRoot:

<WeatherRoot>:
    AddLocationForm:


<AddLocationForm@BoxLayout>:
    orientation:"vertical"
    search_input:search_box
    search_results:search_results_list
    BoxLayout:
        height:"40dp"
        size_hint_y:None
        TextInput:
            id:search_box
            size_hint_x:50
        Button:
            text:"search"
            size_hint_x:25
            on_press:root.search_location()
        Button:
            text:"Current Location"
            size_hint_x:25
    ListView:
        id:search_results_list
        adapter:
            ListAdapter(data=[], cls=ListItemButton)
        item_strings:[]

